<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PxContactPair Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('structPxContactPair.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structPxContactPair-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">PxContactPair Struct Reference<div class="ingroups"><a class="el" href="group__physics.html">Physics</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Contact report pair information.  
 <a href="structPxContactPair.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="PxSimulationEventCallback_8h_source.html">PxSimulationEventCallback.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for PxContactPair:</div>
<div class="dyncontent">
<div class="center"><img src="structPxContactPair__coll__graph.png" border="0" usemap="#PxContactPair_coll__map" alt="Collaboration graph"/></div>
<map name="PxContactPair_coll__map" id="PxContactPair_coll__map">
<area shape="rect" id="node2" href="classPxFlags.html" title="PxFlags\&lt; PxContactPairFlag\l::Enum, PxU16 \&gt;" alt="" coords="401,5,592,47"/>
<area shape="rect" id="node3" href="classPxFlags.html" title="PxFlags\&lt; PxPairFlag\l::Enum, PxU16 \&gt;" alt="" coords="423,71,570,112"/>
<area shape="rect" id="node4" href="classPxShape.html" title="Abstract class for collision shapes. " alt="" coords="459,137,534,163"/>
<area shape="rect" id="node5" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection. " alt="" coords="284,137,352,163"/>
<area shape="rect" id="node6" href="classPxFlags.html" title="PxFlags\&lt; PxBaseFlag\l::Enum, PxU16 \&gt;" alt="" coords="5,129,159,171"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad9a904aa67a0cec9887d03521c636d9e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxContactPair.html#ad9a904aa67a0cec9887d03521c636d9e">PxContactPair</a> ()</td></tr>
<tr class="separator:ad9a904aa67a0cec9887d03521c636d9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab6d54df954c875ccacf8bddba593cf83"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__physics.html#gab6d54df954c875ccacf8bddba593cf83">extractContacts</a> (<a class="el" href="structPxContactPairPoint.html">PxContactPairPoint</a> *userBuffer, <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> bufferSize) const</td></tr>
<tr class="memdesc:gab6d54df954c875ccacf8bddba593cf83"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the contact points from the stream and stores them in a convenient format.  <a href="group__physics.html#gab6d54df954c875ccacf8bddba593cf83">More...</a><br /></td></tr>
<tr class="separator:gab6d54df954c875ccacf8bddba593cf83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga737af8e8faa77ff454b310957b681ad0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__physics.html#ga737af8e8faa77ff454b310957b681ad0">bufferContacts</a> (<a class="el" href="structPxContactPair.html">PxContactPair</a> *newPair, PxU8 *bufferMemory) const</td></tr>
<tr class="memdesc:ga737af8e8faa77ff454b310957b681ad0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper method to clone the contact pair and copy the contact data stream into a user buffer.  <a href="group__physics.html#ga737af8e8faa77ff454b310957b681ad0">More...</a><br /></td></tr>
<tr class="separator:ga737af8e8faa77ff454b310957b681ad0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga24b23a3a59f7927772ea24eac34c07f8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> const <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__physics.html#ga24b23a3a59f7927772ea24eac34c07f8">getInternalFaceIndices</a> () const</td></tr>
<tr class="separator:ga24b23a3a59f7927772ea24eac34c07f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ad4482d0d718415fbbd0c5852994f139f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPxShape.html">PxShape</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxContactPair.html#ad4482d0d718415fbbd0c5852994f139f">shapes</a> [2]</td></tr>
<tr class="memdesc:ad4482d0d718415fbbd0c5852994f139f"><td class="mdescLeft">&#160;</td><td class="mdescRight">The two shapes that make up the pair.  <a href="#ad4482d0d718415fbbd0c5852994f139f">More...</a><br /></td></tr>
<tr class="separator:ad4482d0d718415fbbd0c5852994f139f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48af2df819d277ca1329da1630ac4a47"><td class="memItemLeft" align="right" valign="top">const PxU8 *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxContactPair.html#a48af2df819d277ca1329da1630ac4a47">contactPatches</a></td></tr>
<tr class="memdesc:a48af2df819d277ca1329da1630ac4a47"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pointer to first patch header in contact stream containing contact patch data.  <a href="#a48af2df819d277ca1329da1630ac4a47">More...</a><br /></td></tr>
<tr class="separator:a48af2df819d277ca1329da1630ac4a47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73d11caa7df479aa964761a376968abb"><td class="memItemLeft" align="right" valign="top">const PxU8 *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxContactPair.html#a73d11caa7df479aa964761a376968abb">contactPoints</a></td></tr>
<tr class="memdesc:a73d11caa7df479aa964761a376968abb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pointer to first contact point in contact stream containing contact data.  <a href="#a73d11caa7df479aa964761a376968abb">More...</a><br /></td></tr>
<tr class="separator:a73d11caa7df479aa964761a376968abb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0468bb8f49c3eeaf0ec18ce5b828f0ca"><td class="memItemLeft" align="right" valign="top">const PxReal *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxContactPair.html#a0468bb8f49c3eeaf0ec18ce5b828f0ca">contactImpulses</a></td></tr>
<tr class="memdesc:a0468bb8f49c3eeaf0ec18ce5b828f0ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Buffer containing applied impulse data.  <a href="#a0468bb8f49c3eeaf0ec18ce5b828f0ca">More...</a><br /></td></tr>
<tr class="separator:a0468bb8f49c3eeaf0ec18ce5b828f0ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bee18db2d05286fc1e1b14bac54184f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxContactPair.html#a8bee18db2d05286fc1e1b14bac54184f">requiredBufferSize</a></td></tr>
<tr class="memdesc:a8bee18db2d05286fc1e1b14bac54184f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size of the contact stream [bytes] including force buffer.  <a href="#a8bee18db2d05286fc1e1b14bac54184f">More...</a><br /></td></tr>
<tr class="separator:a8bee18db2d05286fc1e1b14bac54184f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd3b2178f7005d3563f41b4925e60a39"><td class="memItemLeft" align="right" valign="top">PxU8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxContactPair.html#afd3b2178f7005d3563f41b4925e60a39">contactCount</a></td></tr>
<tr class="memdesc:afd3b2178f7005d3563f41b4925e60a39"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of contact points stored in the contact stream.  <a href="#afd3b2178f7005d3563f41b4925e60a39">More...</a><br /></td></tr>
<tr class="separator:afd3b2178f7005d3563f41b4925e60a39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac2821a1e5d8d8cc969b24f2a861a1a0"><td class="memItemLeft" align="right" valign="top">PxU8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxContactPair.html#aac2821a1e5d8d8cc969b24f2a861a1a0">patchCount</a></td></tr>
<tr class="memdesc:aac2821a1e5d8d8cc969b24f2a861a1a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of contact patches stored in the contact stream.  <a href="#aac2821a1e5d8d8cc969b24f2a861a1a0">More...</a><br /></td></tr>
<tr class="separator:aac2821a1e5d8d8cc969b24f2a861a1a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf78ac4dcef249601f486b939c08d589"><td class="memItemLeft" align="right" valign="top">PxU16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxContactPair.html#abf78ac4dcef249601f486b939c08d589">contactStreamSize</a></td></tr>
<tr class="memdesc:abf78ac4dcef249601f486b939c08d589"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size of the contact stream [bytes] not including force buffer.  <a href="#abf78ac4dcef249601f486b939c08d589">More...</a><br /></td></tr>
<tr class="separator:abf78ac4dcef249601f486b939c08d589"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a649a2da93fe6f6227631c42733648ca7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__physics.html#gae73039b8bd7e7f4a606acfba4811291c">PxContactPairFlags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxContactPair.html#a649a2da93fe6f6227631c42733648ca7">flags</a></td></tr>
<tr class="memdesc:a649a2da93fe6f6227631c42733648ca7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Additional information on the contact report pair.  <a href="#a649a2da93fe6f6227631c42733648ca7">More...</a><br /></td></tr>
<tr class="separator:a649a2da93fe6f6227631c42733648ca7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acba0b9958ac5d3884c515f94234b9c20"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__physics.html#gacacbeccf757e60dbf45089ef382681d9">PxPairFlags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxContactPair.html#acba0b9958ac5d3884c515f94234b9c20">events</a></td></tr>
<tr class="memdesc:acba0b9958ac5d3884c515f94234b9c20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flags raised due to the contact.  <a href="#acba0b9958ac5d3884c515f94234b9c20">More...</a><br /></td></tr>
<tr class="separator:acba0b9958ac5d3884c515f94234b9c20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7335f614a8f1aaec63340f28cc4d1f5f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxContactPair.html#a7335f614a8f1aaec63340f28cc4d1f5f">internalData</a> [2]</td></tr>
<tr class="separator:a7335f614a8f1aaec63340f28cc4d1f5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Contact report pair information. </p>
<p>Instances of this class are passed to <a class="el" href="classPxSimulationEventCallback.html#a4dc1da28643ccf9f77c8432b5eb2fd32" title="This is called when certain contact events occur. ">PxSimulationEventCallback.onContact()</a>. If contact reports have been requested for a pair of shapes (see <a class="el" href="structPxPairFlag.html" title="Collection of flags describing the actions to take for a collision pair. ">PxPairFlag</a>), then the corresponding contact information will be provided through this structure.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxSimulationEventCallback.html#a4dc1da28643ccf9f77c8432b5eb2fd32" title="This is called when certain contact events occur. ">PxSimulationEventCallback.onContact()</a> </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ad9a904aa67a0cec9887d03521c636d9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad9a904aa67a0cec9887d03521c636d9e">&#9670;&nbsp;</a></span>PxContactPair()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> PxContactPair::PxContactPair </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="afd3b2178f7005d3563f41b4925e60a39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd3b2178f7005d3563f41b4925e60a39">&#9670;&nbsp;</a></span>contactCount</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PxU8 PxContactPair::contactCount</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of contact points stored in the contact stream. </p>

</div>
</div>
<a id="a0468bb8f49c3eeaf0ec18ce5b828f0ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0468bb8f49c3eeaf0ec18ce5b828f0ca">&#9670;&nbsp;</a></span>contactImpulses</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const PxReal* PxContactPair::contactImpulses</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Buffer containing applied impulse data. </p>
<p>This pointer is only valid if contact point information has been requested for the contact report pair (see <a class="el" href="structPxPairFlag.html#a60e71a2948b030140f840766a3f7ac2fadb30cb0c2d2859560b34c684ac076137" title="Provide contact points in contact reports for this collision pair. ">PxPairFlag::eNOTIFY_CONTACT_POINTS</a>). Use <a class="el" href="group__physics.html#gab6d54df954c875ccacf8bddba593cf83" title="Extracts the contact points from the stream and stores them in a convenient format. ">extractContacts()</a> as a reference for the data layout of the stream. </p>

</div>
</div>
<a id="a48af2df819d277ca1329da1630ac4a47"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48af2df819d277ca1329da1630ac4a47">&#9670;&nbsp;</a></span>contactPatches</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const PxU8* PxContactPair::contactPatches</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pointer to first patch header in contact stream containing contact patch data. </p>
<p>This pointer is only valid if contact point information has been requested for the contact report pair (see <a class="el" href="structPxPairFlag.html#a60e71a2948b030140f840766a3f7ac2fadb30cb0c2d2859560b34c684ac076137" title="Provide contact points in contact reports for this collision pair. ">PxPairFlag::eNOTIFY_CONTACT_POINTS</a>). Use <a class="el" href="group__physics.html#gab6d54df954c875ccacf8bddba593cf83" title="Extracts the contact points from the stream and stores them in a convenient format. ">extractContacts()</a> as a reference for the data layout of the stream. </p>

<p class="reference">Referenced by <a class="el" href="group__physics.html#ga737af8e8faa77ff454b310957b681ad0">bufferContacts()</a>.</p>

</div>
</div>
<a id="a73d11caa7df479aa964761a376968abb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73d11caa7df479aa964761a376968abb">&#9670;&nbsp;</a></span>contactPoints</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const PxU8* PxContactPair::contactPoints</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pointer to first contact point in contact stream containing contact data. </p>
<p>This pointer is only valid if contact point information has been requested for the contact report pair (see <a class="el" href="structPxPairFlag.html#a60e71a2948b030140f840766a3f7ac2fadb30cb0c2d2859560b34c684ac076137" title="Provide contact points in contact reports for this collision pair. ">PxPairFlag::eNOTIFY_CONTACT_POINTS</a>). Use <a class="el" href="group__physics.html#gab6d54df954c875ccacf8bddba593cf83" title="Extracts the contact points from the stream and stores them in a convenient format. ">extractContacts()</a> as a reference for the data layout of the stream. </p>

<p class="reference">Referenced by <a class="el" href="group__physics.html#ga737af8e8faa77ff454b310957b681ad0">bufferContacts()</a>.</p>

</div>
</div>
<a id="abf78ac4dcef249601f486b939c08d589"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf78ac4dcef249601f486b939c08d589">&#9670;&nbsp;</a></span>contactStreamSize</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PxU16 PxContactPair::contactStreamSize</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Size of the contact stream [bytes] not including force buffer. </p>

</div>
</div>
<a id="acba0b9958ac5d3884c515f94234b9c20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acba0b9958ac5d3884c515f94234b9c20">&#9670;&nbsp;</a></span>events</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__physics.html#gacacbeccf757e60dbf45089ef382681d9">PxPairFlags</a> PxContactPair::events</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Flags raised due to the contact. </p>
<p>The events field is a combination of:</p>
<ul>
<li>
<a class="el" href="structPxPairFlag.html#a60e71a2948b030140f840766a3f7ac2fabd8650de69997eaa7c5717e347ca74ac" title="Call contact report callback or trigger callback when this collision pair starts to be in contact...">PxPairFlag::eNOTIFY_TOUCH_FOUND</a>, </li>
<li>
<a class="el" href="structPxPairFlag.html#a60e71a2948b030140f840766a3f7ac2fa69f6e6373fe2f024618f752c388ef6b1" title="Call contact report callback while this collision pair is in contact. ">PxPairFlag::eNOTIFY_TOUCH_PERSISTS</a>, </li>
<li>
<a class="el" href="structPxPairFlag.html#a60e71a2948b030140f840766a3f7ac2fa201281be698379417370bf7b0aeeb78e" title="Call contact report callback or trigger callback when this collision pair stops to be in contact...">PxPairFlag::eNOTIFY_TOUCH_LOST</a>, </li>
<li>
<a class="el" href="structPxPairFlag.html#a60e71a2948b030140f840766a3f7ac2fac3bd4a1e1a9cb6fbc00dd7df5770f4ac" title="Call contact report callback when this collision pair is in contact during CCD passes. ">PxPairFlag::eNOTIFY_TOUCH_CCD</a>, </li>
<li>
<a class="el" href="structPxPairFlag.html#a60e71a2948b030140f840766a3f7ac2fab35919229480fcf006fe1dd5a3fe38ab" title="Call contact report callback when the contact force between the actors of this collision pair exceeds...">PxPairFlag::eNOTIFY_THRESHOLD_FORCE_FOUND</a>, </li>
<li>
<a class="el" href="structPxPairFlag.html#a60e71a2948b030140f840766a3f7ac2fac74556f995b40456ab3dfcf1ea9de2dd" title="Call contact report callback when the contact force between the actors of this collision pair continu...">PxPairFlag::eNOTIFY_THRESHOLD_FORCE_PERSISTS</a>, </li>
<li>
<a class="el" href="structPxPairFlag.html#a60e71a2948b030140f840766a3f7ac2fa517ae07b413b27ad008f766170051ae6" title="Call contact report callback when the contact force between the actors of this collision pair falls b...">PxPairFlag::eNOTIFY_THRESHOLD_FORCE_LOST</a> </li>
</ul>
<p>See the documentation of <a class="el" href="structPxPairFlag.html" title="Collection of flags describing the actions to take for a collision pair. ">PxPairFlag</a> for an explanation of each.</p>
<dl class="section note"><dt>Note</dt><dd>eNOTIFY_TOUCH_CCD can get raised even if the pair did not request this event. However, in such a case it will only get raised in combination with one of the other flags to point out that the other event occured during a CCD pass.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="structPxPairFlag.html" title="Collection of flags describing the actions to take for a collision pair. ">PxPairFlag</a> </dd></dl>

</div>
</div>
<a id="a649a2da93fe6f6227631c42733648ca7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a649a2da93fe6f6227631c42733648ca7">&#9670;&nbsp;</a></span>flags</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__physics.html#gae73039b8bd7e7f4a606acfba4811291c">PxContactPairFlags</a> PxContactPair::flags</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Additional information on the contact report pair. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="structPxContactPairFlag.html" title="Collection of flags providing information on contact report pairs. ">PxContactPairFlag</a> </dd></dl>

</div>
</div>
<a id="a7335f614a8f1aaec63340f28cc4d1f5f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7335f614a8f1aaec63340f28cc4d1f5f">&#9670;&nbsp;</a></span>internalData</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> PxContactPair::internalData[2]</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aac2821a1e5d8d8cc969b24f2a861a1a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac2821a1e5d8d8cc969b24f2a861a1a0">&#9670;&nbsp;</a></span>patchCount</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PxU8 PxContactPair::patchCount</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of contact patches stored in the contact stream. </p>

</div>
</div>
<a id="a8bee18db2d05286fc1e1b14bac54184f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8bee18db2d05286fc1e1b14bac54184f">&#9670;&nbsp;</a></span>requiredBufferSize</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> PxContactPair::requiredBufferSize</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Size of the contact stream [bytes] including force buffer. </p>

</div>
</div>
<a id="ad4482d0d718415fbbd0c5852994f139f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad4482d0d718415fbbd0c5852994f139f">&#9670;&nbsp;</a></span>shapes</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPxShape.html">PxShape</a>* PxContactPair::shapes[2]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The two shapes that make up the pair. </p>
<dl class="section note"><dt>Note</dt><dd>The shape pointers might reference deleted shapes. This will be the case if <a class="el" href="structPxPairFlag.html#a60e71a2948b030140f840766a3f7ac2fa201281be698379417370bf7b0aeeb78e" title="Call contact report callback or trigger callback when this collision pair stops to be in contact...">PxPairFlag::eNOTIFY_TOUCH_LOST</a> or <a class="el" href="structPxPairFlag.html#a60e71a2948b030140f840766a3f7ac2fa517ae07b413b27ad008f766170051ae6" title="Call contact report callback when the contact force between the actors of this collision pair falls b...">PxPairFlag::eNOTIFY_THRESHOLD_FORCE_LOST</a> events were requested for the pair and one of the involved shapes gets deleted. Check the <a class="el" href="structPxContactPair.html#a649a2da93fe6f6227631c42733648ca7" title="Additional information on the contact report pair. ">flags</a> member to see whether that is the case. Do not dereference a pointer to a deleted shape. The pointer to a deleted shape is only provided such that user data structures which might depend on the pointer value can be updated.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxShape.html" title="Abstract class for collision shapes. ">PxShape</a> </dd></dl>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="PxSimulationEventCallback_8h_source.html">PxSimulationEventCallback.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="structPxContactPair.html">PxContactPair</a></li>
    <li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
  </ul>
</div>
</body>
</html>
